package com.beidasoft.web.util;

/**
 * 常量类
 * Created by eric on 15-12-22.
 */
public class ConstantUtil {

    // websocket地址
    public static String WEBSOCKET_URL = "WEBSOCKET_URL";

    // 执法系统地址
    public static String LAW_ENFORCEMENT_SYSTEM_URL = "LAW_ENFORCEMENT_SYSTEM_URL";

    //定义的检查填报模块的初始化检ID（限期整改结果）
    public static String IS_ORDER_MODEL_ID = "00000000-5000-0000-0000-000000000000";

    //定义的检查填报模块的初始化（限期整改结果）
    public static String IS_ORDER_MODEL_VALUE = "限期整改结果";

    //限期整改结果排序
    public static Integer IS_ORDER_MODEL_ORDER = 5;

    //定义的检查填报模块的初始化检查单ID（抽样检验结果）
    public static String IS_SAMPLE_MODEL_ID = "00000000-4000-0000-0000-000000000000";

    //定义的检查填报模块的初始化（限期整改结果）
    public static String IS_SAMPLE_MODEL_VALUE = "抽样检验结果";

    //限期整改结果排序
    public static Integer IS_SAMPLE_MODEL_ORDER = 4;

    //定义抽样检验常量
    public static String SAMPLE_VALUE = "抽样检验";

    //存在未办结事项 ID
    public static String IS_NO_FINISH_ITEM_ID = "00000000-6000-0000-0000-000000000000";

    //存在未办结事项 序号
    public static Integer IS_NO_FINISH_ITEM_ORDER = 6;

    //存在未办结事项 名称
    public static String IS_NO_FINISH_ITEM_VALUE = "未办结事项";

    //超期
    public static String IS_LIMIT_TRUE = "true";

    //未超期
    public static String IS_LIMIT_FALSE = "false";

    //当事人类型为其他 90
    public static String PARTY_TYPE_IS_OTHER = "90";

    /**
     * 秒
     */
    public static final long TEE_S = 1000;
    /**
     * 分
     */
    public static final long TEE_MINIT = TEE_S * 60;
    /**
     * 时
     */
    public static final long TEE_H = TEE_MINIT * 60;
    /**
     * 天
     */
    public static final long TEE_D = TEE_H * 24;
    /**
     * 月
     */
    public static final long TEE_MONTH = TEE_D * 30;
    /**
     * 年
     */
    public static final long TEE_Y = TEE_D * 365;

    /**
     * 中文编码名称
     */
    public static final String CHINA_CODE_NAME = "GBK";
    /**
     * 缺省编码
     */
    public static final String DEFAULT_CODE = "UTF-8";

}
